import { Link } from 'react-router-dom';

export const Home = () => {
  return (
    <div
      style={{
        display: 'flex',
        // justifyContent: 'center',
        alignItems: 'center',

        flexDirection: 'column',
      }}
    >
      <h1>Home</h1>
      <div>
        <Link to={'/app1'}>app1 </Link>
        <Link to={'/app2'}>app2 </Link>
        <Link to={'/app3'}>app3</Link>
        <Link to={'/app4/xxx'}>app4</Link>
        <Link to={'/todos'}>todos</Link>
      </div>
      <div>欢迎大家的到来</div>
    </div>
  );
};
